<#--
  - Copyright 2009 Vladimir Ritz Bossicard
  -
  - This file is part of OraDoc.
  -
  - OraDoc is free software: you can redistribute it and/or modify it under the
  - terms of the GNU General Public License as published by the Free Software 
  - Foundation, either version 3 of the License, or (at your option) any later 
  - version.
  -
  - This program is distributed in the hope that it will be useful, but WITHOUT
  - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 
  - more details.
  -
  - You should have received a copy of the GNU General Public License along with 
  - this program. If not, see <http://www.gnu.org/licenses/>.
  -
  - Author      : Vladimir Ritz Bossicard
  - Version     : $Revision: 20 $
  - Last edit   : $Date: 2009-03-25 12:43:30 +0000 (Wed, 25 Mar 2009) $
  - Last editor : $Author: vbossica $
  -->

<#import "/macros.html.ftl" as macros>

<@macros.header level=".." project="${table.name} - Table"/>

<@macros.menu level=".." selected="TABLES"/>
<@macros.tables level=".." selected="none"/>

<h1>Table ${table.name}</h1>

${table.comment}

<h2>Columns</h2>
<table align="center" width="95%">
    <tr>
        <td class="indexkey">Name</td>
        <td class="indexkey">Type</td>
        <td class="indexkey">Optional</td>
        <td class="indexkey">Default</td>
        <td class="indexkey">Comments</td>
    </tr>
<#list table.columns as column>
    <tr>
        <td class="indexvalue" width="20%">${column.name}</td>
        <td class="indexvalue" width="10%">${column.type}</td>
        <td class="indexvalue" width="10%"><#if column.optional>Y<#else>&nbsp;</#if></td>
        <td class="indexvalue" width="10%">${column.default}&nbsp;</td>
        <td class="indexvalue">${column.comment}&nbsp;</td>
    </tr>
</#list>
</table>

<@macros.footer project="${project.name}"/> 
 
